<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<!--[if lt IE 9]>



<![endif]-->
<link rel="shortcut icon" href="favicon.ico">
<link href="__PUBLIC__/Theme1/css/bootstrap.min.css?v=3.3.6"
	rel="stylesheet">
<link href="__PUBLIC__/Theme1/css/font-awesome.min.css?v=4.4.0"
	rel="stylesheet">

<link href="__PUBLIC__/Theme1/css/animate.min.css" rel="stylesheet">
<link href="__PUBLIC__/Theme1/css/style.min.css?v=4.1.0"
	rel="stylesheet">
<!--[if IE 6]>

DD_belatedPNG.fix('*');</script>
<![endif]-->
<title>员工详细资料查看</title>
</head>
<body>
	<div class="cl pd-20" style="background-color: #5bacb6">
		<php> $stPhoto=strlen($rs_staffShow["stPhoto"]); </php>
		<if condition="$stPhoto gt 10"> <img class="avatar size-XL l"
			src="__ROOT__/<{$rs_staffShow.stPhoto}>" width="100px" height="110px">
		</if>

		<dl style="margin-left: 80px; color: #fff">
			<dt>
				<span class="f-24"><{$rs_staffShow.stName}></span> <span
					class="pl-10 f-16"> <if condition="$rs_staffShow.stSex eq 1">
					&nbsp;&nbsp;&nbsp;&nbsp;男&nbsp;&nbsp;&nbsp;&nbsp; <else />
					&nbsp;&nbsp;&nbsp;&nbsp;女 &nbsp;&nbsp;&nbsp;&nbsp; </if> <if
						condition="$rs_staffShow.stBirthdateType eq 1">公历&nbsp; <else />
					农历&nbsp; </if> <{$rs_staffShow.stBirthdate}> 出生
					&nbsp;&nbsp;&nbsp;&nbsp;今年 <{$nowAge}> 岁
				</span>
			</dt>
			<dd class="pt-10 f-14" style="margin-left: 0">
				联系电话：<{$rs_staffShow.stTel}>&nbsp;&nbsp;
				来自：<{$rs_staffShow.stNativePlace}>&nbsp;&nbsp;
				现居住：<{$rs_staffShow.stCity}>&nbsp;&nbsp;</dd>
			</if>
		</dl>
	</div>
	<div class="pd-20">
		<table class="table">
			<tbody>
				<tr>
					<th class="text-r" width="80">员工编号：</th>
					<td><{$rs_staffShow.stNum}></td>
					<th class="text-r">学历：</th>
					<php> $xueliInfo=""; $xueliId=$rs_staffShow["stDegrees"];
					$variables=M("variables");
					$rs_variables=$variables->where("vId=1")->find();
					$xueli=explode("|",$rs_variables["vVariablesVal"]); foreach($xueli
					as $key=>$valxueli){ if($key==$xueliId){ $xueliInfo=$valxueli; } }
					</php>
					<td><{$xueliInfo}></td>
					<th class="text-r">民族：</th>
					<td><{$rs_staffShow.stMultiracial}></td>

				</tr>

				<tr>
					<th class="text-r" width="80">政治面貌：</th>
					<td><{$rs_staffShow.stPoliticalIandscape}></td>
					<th class="text-r">身高：</th>
					<if condition="$rs_staffShow.stHeight eq 0">
					<td>未录入</td>
					<else />
					<td><{$rs_staffShow.stHeight}> CM</td>
					</if>

					<th class="text-r">体重：</th>
					<if condition="$rs_staffShow.stWeight eq 0">
					<td>未录入</td>
					<else />
					<td><{$rs_staffShow.stWeight}> KG</td>
					</if>
				</tr>

				<tr>
					<th class="text-r" width="80">身份证号：</th>
					<td><{$rs_staffShow.stIDCard}></td>
					<th class="text-r">QQ：</th>
					<td><{$rs_staffShow.stQQ}></td>
					<th class="text-r">邮箱：</th>
					<td><{$rs_staffShow.stEmail}></td>
				</tr>



				<tr>
					<th class="text-r" width="80">所在部门：</th>
					<td><{$rs_department.dName}></td>
					<th class="text-r">职称：</th>
					<php> $zhichengInfo="";
					$zhichengId=$rs_staffShow["stPositionalTitles"];
					$variables=M("variables");
					$rs_variables=$variables->where("vId=2")->find();
					$zhicheng=explode("|",$rs_variables["vVariablesVal"]);
					foreach($zhicheng as $key=>$valzhicheng){ if($key==$zhichengId){
					$zhichengInfo=$valzhicheng; } } </php>
					<td><{$zhichengInfo}></td>
					<th class="text-r">职务：</th>
					<php> $zhiwuInfo=""; $zhiwuId=$rs_staffShow["stDuties"];
					$variables=M("variables");
					$rs_variables=$variables->where("vId=3")->find();
					$zhiwu=explode("|",$rs_variables["vVariablesVal"]); foreach($zhiwu
					as $key=>$valzhiwu){ if($key==$zhiwuId){ $zhiwuInfo=$valzhiwu; } }
					</php>
					<td><{$zhiwuInfo}></td>
				</tr>

				<tr>
					<th class="text-r" width="80">入职日期：</th>
					<td><{$rs_staffShow.stEntryDate}></td>
					<th class="text-r">工龄：</th>
					<td><{$nowWorkingYear}> 年</td>
					<th class="text-r">工作状态：</th>
					<if condition="$rs_staffShow.stJobState eq 1">
					<td>在职</td>
					<else />
					<td style="color: #F00">已离职</td>
					</if>
				</tr>

				<if condition="$rs_staffShow.stJobState neq 1">
				<tr>
					<th class="text-r" width="80">离职日期：</th>
					<if condition="$rs_staffShow.stDepartureDate eq 0">
					<td>还未完善</td>
					<else />
					<td><{$rs_staffShow.stDepartureDate}></td>
					</if>
					<th class="text-r">离职原因：</th>
					<td><{$rs_staffShow.stDepartureSo}></td>
					<th class="text-r">离职状态：</th>
					<if condition="$rs_staffShow.stBlacklist eq 0">
					<td>白名单</td>
					<else />
					<td style="color: #63F">黑名单</td>
					</if>
				</tr>
				</if>

				<if condition="$rs_staffShow.stBlacklist neq 0">
				<tr>
					<th class="text-r" width="80">加黑时间：</th>
					<if condition="$rs_staffShow.stBlacklistNowDate eq 0">
					<td>还未设置</td>
					<else />
					<td><{$rs_staffShow.stBlacklistNowDate}></td>
					</if>
					<th class="text-r">解除时间：</th>
					<if condition="$rs_staffShow.stBlacklistEndDate eq 0">
					<td>永久加黑</td>
					<else />
					<td><{$rs_staffShow.stBlacklistEndDate}></td>
					</if>
					<th class="text-r">加黑原因：</th>
					<td><{$rs_staffShow.stBlacklistSo}></td>
				</tr>
				<if
					condition="($rs_staffShow.stBlacklistEndDate neq 0) OR ($rs_staffShow.stBlacklistNowDate neq 0)">
				<tr>
					<th class="text-r" width="80">共计加黑：</th>
					<td><{$days}></td>
					<th class="text-r">洗黑还剩：</th>
					<td><{$nBacklistTime}></td>
				</tr>
				</if> </if>



			</tbody>
		</table>
	</div>
	
	
	
	
	
        $(document).ready(function(){$(".sortable-list").sortable({connectWith:".connectList"}).disableSelection()});
    </script>
</body>
</html>